#!/bin/sh -e

#DEBHELPER#

case "$1" in
    purge)
	userdel tigase || true
        rm -rf /var/log/tigase /var/spool/tigase
    ;;

    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
        # Nothing to do here
    ;;

    *)
        echo "$0 called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac
